<h1><?  echo $category['title']; ?></h1>
<p><?  echo $category['description']; ?></p>

<?
	$this->widget('application.components.categoryFilterPrice',
		array(
			'beforeText' => '<br/>Цены: ',
			'price' => $price,
		)
	);

	$this->widget('application.components.categoryFilterFeatures',
		array(
			'avalible_items' => $avalible_items,
			'requested_features' => $requested_features,
			'id' => $id,
			'perpage' => $perpage,
			'order' => $order,
			'manufacturer' => $manufacturer,
			'beforeText' => '<br/>Фильтры',
		)
	);

	$this->widget('application.components.categoryFilterManufacturers',
		array(
			'avalible_items' => $avalible_items,
			'requested_manufacturers' => $requested_manufacturers,
			'id' => $id,
			'perpage' => $perpage,
			'order' => $order,
			'feature' => $feature,
			'beforeText' => '<br/>Производители',
			'criteria' => $criteria,
		)
	);

	$this->widget('application.components.categoryFilterOrder',
		array(
			'order' => $order,
			'count' => $count,
			'id' => $id,
			'perpage' => $perpage,
			'manufacturer' => $manufacturer,
			'feature' => $feature,
			'beforeText' => '<br/>Направление сортировки: ',
		)
	);

	$this->widget('application.components.categoryFilterLimit',
		array(
			'manufacturer' => $manufacturer,
			'feature' => $feature,
			'order' => $order,
			'page' => $page,
			'perpage' => $perpage,
			'beforeText' => '<br/>Позиций на страницу: ',
			'id' => $id,
		)
	);
?>

<?
	if($count > 0){
		echo "<br/>Минимальная цена ".$price['min'];
		echo "<br/>Максимальная цена ".$price['max'];
		echo "<br/>Всего найдено товаров ".$count.'<br/><br/>';
		$this->renderPartial('itemLoop', array(
			'items' 	=> $items,
		));

		$this->widget('CLinkPager',
			array(
				'pages' => $pages,
			)
		);
	}else{
		echo "По Вашему запросу товары не найдены";
	}
?>